package com.sfy.dao;

import com.sfy.entity.Electric;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ElectricMapper {
    List<Electric> selectElectric(Electric electric);
    Electric GetElectricById(Electric electric);
    int deleteElectric(int eid);
    int updateElectric(Electric electric);
    int addElectric(Electric electric);
    int getCount(Electric electric);
}
